package edu.uestc.canary.entity.pojo;

//import io.swagger.v3.oas.models.annotations.OpenAPI31;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 商铺类别信息pojo
 */
@Setter
@Getter
@Accessors(chain = true)
@Schema(description = "商铺类别信息")
public class ShopType {
    /**
     * 商铺类别标识
     */
    @Schema(title = "id", description = "商铺类别标识,添加时忽略;修改时需要添加")
    private Integer id;

    /**
     * 商铺类别名称
     */
    @Schema(title = "name", description = "商铺类别名称")
    private String name;

    /**
     * 商铺类别图标url
     */
    @Schema(title = "icon", description = "商铺类别图标url,上传图片时生成")
    private String icon;

    /**
     * 商铺类别排序标识
     */
    @Schema(title = "sort", description = "商铺类别排序标识")
    private int sort;

    /**
     * 商铺类别创建时间
     */
    @Schema(title = "createTime", description = "商铺类别创建时间")
    private LocalDateTime createTime;

    /**
     * 商铺类别更新时间
     */
    @Schema(hidden = true)
    private LocalDateTime updateTime;
}
